<?php
$site_page_out='<br /><br /><div align="center"><div class="title" align="center"><form action='.$site_url.'/t16cms/cp/modules/articles/addart.php method="post"> <input type="text" name="title"></div>'.'<div class="text"><br />';
$site_page_out=$site_page_out."<br />".'<textarea cols="50" rows="10" name="short"></textarea>'.
'<textarea cols="50" rows="25" name="long"></textarea>';



reset($site_categories);
$list='<select name="category" size="0">';
while(list($key, $val) = each($site_categories)) {
  $list=$list.'<option value="'.$key.'">'."$val<BR></option>";
}
$list=$list.'</select>';




$site_page_out=$site_page_out.'<br /><br />'.
$list.
'<br /><br /></div><div class="dtitle" align="right">'.
'<input type="hidden" name="authkey" value="'.$_GET['authkey'].'">'.
'<input type="text" name="author" readonly value="'.$site_user['name'].'">'.
'<input type="text" name="date"  value="'.date('d/m/y h:i').'">'.
'<input type="submit" value="Create" />'.
'</form> </div>'."</div>";
?>